#!/usr/bin/python2.5

# Copyright 2009 Ferdjaoui Sahid.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


import os

# Default configurations
DEBUG          = True
TEMPLATE_DEBUG = DEBUG

DEFAULT_FROM_EMAIL = ''

DEFAULT_CHARSET = 'utf-8'

TIME_ZONE     = 'UTC'
LANGUAGE_CODE = 'en-us'
USE_I18N      = True

# Admins && Managers
ADMINS   = ()
MANAGERS = ADMINS

# Email configurations
EMAIL_SUBJECT_PREFIX = '[Support]'
EMAIL_SUPPORT        = ''

# Make this unique, and don't share it with anybody.
SECRET_KEY = 'theslap-engine@secretkey'

# Urls patterns
ROOT_URLCONF = 'urls'

# Middleware
MIDDLEWARE_CLASSES = (
  'django.middleware.common.CommonMiddleware',
  'facebook.djangofb.FacebookMiddleware',
  'middleware.authentication.AuthenticationMiddleware',
)

# Templates configurations
TEMPLATE_DIRS = (
  os.path.dirname (__file__),
)

TEMPLATE_CONTEXT_PROCESSORS = (
  'django.core.context_processors.debug',
  'django.core.context_processors.request',
  'common.context_processors.gae',
  'common.context_processors.facebook',
  'common.context_processors.site_name',
)

SITE_NAME = 'The Slap'

# APP FACEBOOK 
FACEBOOK_API_KEY    = ''
FACEBOOK_SECRET_KEY = ''
FACEBOOK_APP_ID     = ''
FACEBOOK_APP_ROOT   = ''

# GOOGLE APP ENGINE
GAE_APP_ROOT = ''

# ANALITYCS
ANALITYCS_ID = ''




